package org.domeos.framework.engine;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;

@Component
public class RedisUtil {
	
    private static StringRedisTemplate stringRedisTemplate;
	
	@Autowired
    public void setStringRedisTemplate(
    		StringRedisTemplate stringRedisTemplate) {
		RedisUtil.stringRedisTemplate = stringRedisTemplate;
	}
	
	public static StringRedisTemplate getStringRedisTemplate(){
		return stringRedisTemplate;
	}
}
